<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>华汇换币</title>
    <link rel="stylesheet" href="//at.alicdn.com/t/font_1214457_a9qct5b5p1c.css">
    <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=ba01da81e97825bbc345d61f360ff369"></script> 
  </head>
  <body>
    <noscript>
      <strong>We're sorry but bi_h5 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
		<script type="text/javascript">
			// H5 plus事件处理
			function plusReady(){
				// 设置系统状态栏样式为深色前景色样式
				plus.navigator.setStatusBarStyle('dark');
			}
			if(window.plus){
				plusReady();
			}else{
				document.addEventListener('plusready', plusReady, false);
      }
      
      (function()
        {
            var agent = navigator.userAgent.toLowerCase();        //检测是否是ios
            var iLastTouch = null;                                //缓存上一次tap的时间
            if (agent.indexOf('iphone') >= 0 || agent.indexOf('ipad') >= 0)
            {
                document.body.addEventListener('touchend', function(event)
                {
                    var iNow = new Date()
                        .getTime();
                    iLastTouch = iLastTouch || iNow + 1 /** 第一次时将iLastTouch设为当前时间+1 */ ;
                    var delta = iNow - iLastTouch;
                    if (delta < 500 && delta > 0)
                    {
                        event.preventDefault();
                        return false;
                    }
                    iLastTouch = iNow;
                }, false);
            }

        })();
		</script>
  </body>
</html>
